﻿CREATE TABLE [dbo].[PlayerHistories] (
    [Id]                INT             IDENTITY (1, 1) NOT NULL,
    [PlayerId]          INT             NOT NULL,
    [Login]             NVARCHAR (MAX)  NOT NULL,
    [Picture]           VARBINARY (MAX) NULL,
    [LodzOfficeRoomId]  INT             NOT NULL,
    [AccountPoints]     INT             NOT NULL,    
    [InsertUser]        NVARCHAR (MAX)  NOT NULL,
    [InsertDate]        DATETIME        NOT NULL,
    [UpdateUser]        NVARCHAR (MAX)  NULL,
    [UpdateDate]        DATETIME        NULL,
    [HistoryInsertUser] NVARCHAR (MAX)  NOT NULL,
    [HIstoryInsertDate] DATETIME        NOT NULL,
    [Deleted]           BIT             NOT NULL
);

